package com.jzlx.domain;

/**
 * @description:
 * @author: zhulei
 * @create: 2025-03-24 15:57
 **/
public class DiskSpaceInfo {
    public static final String MB = "MB";
    public static final String GB = "GB";
    public static final String KB = "KB";
    private long totalDiskSpace;
    private long usableDiskSpace;
    private String unit;

    public DiskSpaceInfo() {
    }

    public DiskSpaceInfo(long totalDiskSpace, long usableDiskSpace, String unit) {
        this.totalDiskSpace = totalDiskSpace;
        this.usableDiskSpace = usableDiskSpace;
        this.unit = unit;
    }

    public long getTotalDiskSpace() {
        return totalDiskSpace;
    }

    public void setTotalDiskSpace(long totalDiskSpace) {
        this.totalDiskSpace = totalDiskSpace;
    }

    public long getUsableDiskSpace() {
        return usableDiskSpace;
    }

    public void setUsableDiskSpace(long usableDiskSpace) {
        this.usableDiskSpace = usableDiskSpace;
    }

    public String getUnit() {
        return unit;
    }

    public void setUnit(String unit) {
        this.unit = unit;
    }
}
